﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace EmoneyWeiXinCommon
{
    public class Config
    {
        public static string StaticFile
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["StaticFile"];
            }
        }
        public static string DSChaoguquanUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["DSChaoguquanUrl"];
            }
        }


        public static string wechat_pay_shh
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["wechat_pay_shh"];
            }
        }

        public static string Conn30
        {
            get
            {
                return System.Configuration.ConfigurationManager.ConnectionStrings["Conn30"].ConnectionString;
            }
        }

        public static string Conn35
        {
            get
            {
                return System.Configuration.ConfigurationManager.ConnectionStrings["Conn35"].ConnectionString;
            }
        }

        public static string Transfer
        {
            get
            {
                return System.Configuration.ConfigurationManager.ConnectionStrings["Transfer"].ConnectionString;
            }
        }

        public static string JiaQQQunUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["JiaQQQunUrl"];
            }
        }


        public static string wechat_bag_cert
        {
            get { return System.Configuration.ConfigurationManager.AppSettings["wechat_bag_cert"]; }
        }

        /// <summary>
        /// WeiXin_hq_pic
        /// </summary>
        public static string WeiXin_hq_pic { get { return ConfigurationManager.AppSettings["WeiXin_hq_pic"]; } }

        /// <summary>
        /// CMS地址
        /// </summary>
        public static string WeiXin_cms { get { return ConfigurationManager.AppSettings["WeiXin_cms"]; } }

        public static string RedirectUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["RedirectUrl"];
            }
        }

        public static string WeiXin_access_tokenApiUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WeiXin_access_tokenApiUrl"];
            }
        }

        public static string WeiXin_webapi_url
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WeiXin_webapi_url"];
            }
        }

        public static string WeiXin_optional_appid
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WeiXin_optional_appid"];
            }
        }

        public static string WeiXin_logAddress { get { return ConfigurationManager.AppSettings["WeiXin_logAddress"]; } }

        public static string WeiXin_optional_key
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WeiXin_optional_key"];
            }
        }


        public static string ShareJQUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["ShareJQUrl"];
            }
        }





        public static string WeiXin_webapi_appid
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WeiXin_webapi_appid"];
            }
        }

        public static string WeiXin_webapi_key
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WeiXin_webapi_key"];
            }
        }
        public static string WeiXin_optional_url
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WeiXin_optional_url"];
            }
        }




        public static string MemServer
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["MemServer"];
            }
        }

        public static string MemCachedServerList
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["MemCachedServerList"];
            }
        }



        public static string MemcachedKey
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["MemcachedKey"];
            }
        }

        public static string IsThreadOpen
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["IsThreadOpen"];
            }
        }

        public static string GPYSMemcache
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["GPYSMemcache"];
            }
        }

        public static string ConfigPath
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["ConfigPath"];
            }
        }

        public static string selNewsReportUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["selNewsReportUrl"];
            }
        }


        public static string EmoneyWeiXin
        {
            get
            {
                return System.Configuration.ConfigurationManager.ConnectionStrings["EmoneyWeiXin"].ConnectionString;
            }
        }

        public static string Default
        {
            get
            {
                return System.Configuration.ConfigurationManager.ConnectionStrings["Default"].ConnectionString;
            }
        }


        /// <summary>
        /// 预约提醒模板消息ID
        /// </summary>
        public static string YuYuemodelId
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["YuYuemodelId"];
            }
        }
        /// <summary>
        /// 开通功能模板消息ID
        /// </summary>
        public static string KaitongmodelId
        {
            get { return System.Configuration.ConfigurationManager.AppSettings["KaitongmodelId"]; }
        }

        public static string KfIds
        {
            get { return System.Configuration.ConfigurationManager.AppSettings["KfIds"]; }
        }

        public static string GetVideoDataUrl
        {
            get { return System.Configuration.ConfigurationManager.AppSettings["GetVideoDataUrl"]; }
        }

        /// <summary>
        /// /////
        /// </summary>
        public static string Redis_Key_Prefix { get { return System.Configuration.ConfigurationManager.AppSettings["Redis_Key_Prefix"]; } }


        /// <summary>
        /// 微信api接口
        /// </summary>
        public static string WeiXin_ApiUrl { get { return ConfigurationManager.AppSettings["WeiXin_ApiUrl"]; } }

        /// <summary>
        /// 微信mp接口
        /// </summary>
        public static string WeiXin_MpUrl { get { return ConfigurationManager.AppSettings["WeiXin_MpUrl"]; } }


        /// <summary>
        /// 引导用户授权页
        /// </summary>
        public static string WeiXin_OAuth2_ApiUrl { get { return ConfigurationManager.AppSettings["WeiXin_OAuth2_ApiUrl"]; } }


        public static string getWxUserInfoApiUrl { get { return ConfigurationManager.AppSettings["getWxUserInfoApiUrl"]; } }

        public static string Host_Url
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["Host_Url"];
            }
        }

        public static string Host_Url2
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["Host_Url2"];
            }
        }

        public static string Host_Url3
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["Host_Url3"];
            }
        }

        public static string MailUsername
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["MailUsername"];
            }
        }

        public static string displayname
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["displayname"];
            }
        }

        public static string port
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["port"];
            }
        }

        public static string host
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["host"];
            }
        }

        public static string userPwd
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["userPwd"];
            }
        }
        public static string userName
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["userName"];
            }
        }

        public static string mailFrom
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["mailFrom"];
            }
        }

        public static string fileuploadUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["fileuploadUrl"];
            }
        }


        public static string ModuleName
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["ModuleName"];
            }
        }

        public static string WebApiEncryptKey
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WebApiEncryptKey"];
            }
        }

        public static string EDIT_HOME_URL
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["EDIT_HOME_URL"];
            }
        }

        public static string TwoCodeImgStaticUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["TwoCodeImgStaticUrl"];
            }
        }
        public static string selPicUrldt
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["selPicUrldt"];
            }
        }

        public static string FileStaticUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["FileStaticUrl"];
            }
        }


        public static string api_redbag_url
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["api_redbag_url"];
            }
        }

    }
}
